<!--
 * @Author: liuyonghu liuyonghu.com
 * @Date: 2025-08-25 14:21:30
 * @LastEditors: liuyonghu liuyonghu.com
 * @LastEditTime: 2025-08-25 15:18:51
 * @FilePath: /demos/cdn/index.html
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ant-design-vue/4.2.6/reset.min.css"
        integrity="sha512-vw1Eh0YXwSfFcRPIxtAvonjwHTEqKqwq7ucziF/ZCMEzRlmECgzmGSIHecwetYQXMUE1AL4mlxI7OCt38WvOgw=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>

<body>
    <div id="app">
        <a-button type="primary" @click="handleClick">点击我</a-button>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/vue@3.5.19/dist/vue.global.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@vueuse/core@12.8.2/index.iife.min.js"></script>

    <script src="https://unpkg.com/dayjs/dayjs.min.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/customParseFormat.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/weekday.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/localeData.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/weekOfYear.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/weekYear.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/advancedFormat.js"></script>
    <script src="https://unpkg.com/dayjs/plugin/quarterOfYear.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/ant-design-vue/4.2.6/antd.min.js"></script>
    <script>
        console.log("sssss ");
        const { createApp } = Vue;
        const app = createApp({
            methods: {
                handleClick() {
                    alert('按钮被点击了！');
                }
            }
        });
        app.use(antd).mount('#app');
    </script>
</body>

</html>